﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.workers {
    import flash.utils.*;
    import Classes.*;

    public class CopData {

        public static const STATE_PATROLLING:String = "state_patrolling";
        public static const STATE_SLEEPING:String = "state_sleeping";
        public static const COP_STATE:String = "state";
        public static const COP_REF:String = "copref";
        public static const TIMESTAMP:String = "ts";

        public var m_state:String;
        public var m_timestamp:uint;
        public var m_ZID:String;
        public var m_position:int;
        public var m_copReference:NPC;

        public function CopData(_arg1:Dictionary, _arg2:String, _arg3:int){
            this.m_state = _arg1[COP_STATE];
            this.m_timestamp = _arg1[TIMESTAMP];
            this.m_copReference = _arg1[COP_REF];
            this.m_position = _arg3;
            this.m_ZID = _arg2;
        }
        public function getCopReference():NPC{
            return (this.m_copReference);
        }
        public function setCopReference(_arg1:NPC):void{
            this.m_copReference = _arg1;
        }
        public function getState():String{
            return (this.m_state);
        }
        public function setState(_arg1:String):void{
            this.m_state = _arg1;
        }
        public function getTimestamp():uint{
            return (this.m_timestamp);
        }
        public function setTimestamp(_arg1:uint):void{
            this.m_timestamp = _arg1;
        }
        public function getZID():String{
            return (this.m_ZID);
        }
        public function getPosition():int{
            return (this.m_position);
        }

    }
}//package Modules.workers 
